<!-- Begin Main Menu -->
<div class="ewMenu">
<?php $RootMenu = new cMenu(EW_MENUBAR_ID) ?>
<?php

// Generate all menu items
$RootMenu->IsRoot = TRUE;
$RootMenu->AddMenuItem(7, $Language->MenuPhrase("7", "MenuText"), "pedidoslist.php", -1, "", AllowListMenu('{F232ADC5-E4A2-4026-8F03-D0514C19EE8E}pedidos'), FALSE);
$RootMenu->AddMenuItem(39, $Language->MenuPhrase("39", "MenuText"), "solicitudeslist.php", -1, "", AllowListMenu('{F232ADC5-E4A2-4026-8F03-D0514C19EE8E}solicitudes'), FALSE);
$RootMenu->AddMenuItem(10, $Language->MenuPhrase("10", "MenuText"), "guiastransportelist.php", -1, "", AllowListMenu('{F232ADC5-E4A2-4026-8F03-D0514C19EE8E}guiastransporte'), FALSE);
$RootMenu->AddMenuItem(18, $Language->MenuPhrase("18", "MenuText"), "", -1, "", TRUE, FALSE, TRUE);
$RootMenu->AddMenuItem(35, $Language->MenuPhrase("35", "MenuText"), "detallepedidoslist.php", 18, "", AllowListMenu('{F232ADC5-E4A2-4026-8F03-D0514C19EE8E}detallepedidos'), FALSE);
$RootMenu->AddMenuItem(8, $Language->MenuPhrase("8", "MenuText"), "", -1, "", TRUE, FALSE, TRUE);
$RootMenu->AddMenuItem(4, $Language->MenuPhrase("4", "MenuText"), "tipopedidoslist.php", 8, "", AllowListMenu('{F232ADC5-E4A2-4026-8F03-D0514C19EE8E}tipopedidos'), FALSE);
$RootMenu->AddMenuItem(13, $Language->MenuPhrase("13", "MenuText"), "pedidomotivodemoralist.php", 8, "", AllowListMenu('{F232ADC5-E4A2-4026-8F03-D0514C19EE8E}pedidomotivodemora'), FALSE);
$RootMenu->AddMenuItem(2, $Language->MenuPhrase("2", "MenuText"), "estadoslist.php", 8, "", AllowListMenu('{F232ADC5-E4A2-4026-8F03-D0514C19EE8E}estados'), FALSE);
$RootMenu->AddMenuItem(5, $Language->MenuPhrase("5", "MenuText"), "sucursaleslist.php", 8, "", AllowListMenu('{F232ADC5-E4A2-4026-8F03-D0514C19EE8E}sucursales'), FALSE);
$RootMenu->AddMenuItem(3, $Language->MenuPhrase("3", "MenuText"), "productoslist.php", 8, "", AllowListMenu('{F232ADC5-E4A2-4026-8F03-D0514C19EE8E}productos'), FALSE);
$RootMenu->AddMenuItem(19, $Language->MenuPhrase("19", "MenuText"), "motivossolicitudeslist.php", 8, "", AllowListMenu('{F232ADC5-E4A2-4026-8F03-D0514C19EE8E}motivossolicitudes'), FALSE);
$RootMenu->AddMenuItem(9, $Language->MenuPhrase("9", "MenuText"), "motivoslist.php", 8, "", AllowListMenu('{F232ADC5-E4A2-4026-8F03-D0514C19EE8E}motivos'), FALSE);
$RootMenu->AddMenuItem(1, $Language->MenuPhrase("1", "MenuText"), "usuarioslist.php", 8, "", AllowListMenu('{F232ADC5-E4A2-4026-8F03-D0514C19EE8E}usuarios'), FALSE);
$RootMenu->AddMenuItem(32, $Language->MenuPhrase("32", "MenuText"), "", -1, "", TRUE, FALSE, TRUE);
$RootMenu->AddMenuItem(22, $Language->MenuPhrase("22", "MenuText"), "plansemanallist.php", 32, "", AllowListMenu('{F232ADC5-E4A2-4026-8F03-D0514C19EE8E}plansemanal'), FALSE);
$RootMenu->AddMenuItem(20, $Language->MenuPhrase("20", "MenuText"), "chofereslist.php", 32, "", AllowListMenu('{F232ADC5-E4A2-4026-8F03-D0514C19EE8E}choferes'), FALSE);
$RootMenu->AddMenuItem(23, $Language->MenuPhrase("23", "MenuText"), "vehiculoslist.php", 32, "", AllowListMenu('{F232ADC5-E4A2-4026-8F03-D0514C19EE8E}vehiculos'), FALSE);
$RootMenu->AddMenuItem(33, $Language->MenuPhrase("33", "MenuText"), "planestiposlist.php", 32, "", AllowListMenu('{F232ADC5-E4A2-4026-8F03-D0514C19EE8E}planestipos'), FALSE);
$RootMenu->AddMenuItem(36, $Language->MenuPhrase("36", "MenuText"), "planmotivodemoralist.php", 32, "", AllowListMenu('{F232ADC5-E4A2-4026-8F03-D0514C19EE8E}planmotivodemora'), FALSE);
$RootMenu->AddMenuItem(38, $Language->MenuPhrase("38", "MenuText"), "detalleplandespacholist.php", 32, "", AllowListMenu('{F232ADC5-E4A2-4026-8F03-D0514C19EE8E}detalleplandespacho'), FALSE);
$RootMenu->AddMenuItem(-1, $Language->Phrase("Logout"), "logout.php", -1, "", IsLoggedIn());
$RootMenu->AddMenuItem(-1, $Language->Phrase("Login"), "login.php", -1, "", !IsLoggedIn() && substr(@$_SERVER["URL"], -1 * strlen("login.php")) <> "login.php");
$RootMenu->Render();
?>
</div>
<!-- End Main Menu -->
